<template>
  <div class="info-wrapper">
    <div class="info-w" @click="$router.go(-1)">
      <div class="info-c">
        <div class="close">
          <i class="iconfont icon-fanhui1"></i>
        </div>
        <span class="title">新建房产</span>
      </div>
    </div>
    <div class="info-content">
      <houseinfo handletype="1" :func="docallback"></houseinfo>
    </div>
  </div>
</template>

<script type="text/ecmascript-6">
import houseinfo from '~/components/houseManage/houseinfo.vue';

export default {
  data() {
    return {
      ts: this.newStore(),

    };
  },
  computed: {

  },
  created() {
  },
  methods: {
    docallback() {
      alert(1);
    },
  },
  components: {
    houseinfo,
  },
};
</script>

<style scoped lang="stylus" rel="stylesheet/stylus">
.avatar ul li{
  float left
  width 33%
}
.item-info >>>.el-date-editor.el-input, .el-date-editor.el-input__inner{
  width 300px;
  height 30px;
}
.item-info >>>.el-input__inner{
  height 30px
  border-top: 2px solid #999;
  border-radius 0
}
.item-info >>>.el-input__icon{
  line-height 34px
  color #333
}
.avatar >>>.el-upload--picture-card {
  width: 90px;
  height: 90px;
  line-height: 100px;
  margin-top: 20px;
}
.avatar >>>.el-upload-list--picture-card .el-upload-list__item {
  width: 90px;
  height: 90px;
  margin-top: 20px;
}
.info-wrapper .info-content .upload-btn[data-v-1d27f9c5]
  background #fff
  width 90px


.info-wrapper {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  padding-bottom: 100px;

  .info-w {
    width: 100%;
    height: 50px;
    line-height: 50px;
    background: #69f;
    cursor: pointer

    .info-c {
      width: 1200px;
      margin: 0 auto;
      color: #fff;

      .close {
        display: inline-block;
        margin-right: 20px;

        .iconfont {
          font-size: 20px;
        }
      }

      .title {
        display: inline-block;
        font-size: 18px;
      }
    }
  }

  .info-content {
    width: 1200px;
    min-height: 600px;
    margin: 0 auto;

    .upload-btn {
      display: inline-block;
      vertical-align: top;
      margin-left: 5px;
      width: 90px;
      background :#fff;
      height: 30px;
      line-height: 30px;
      text-align: center;
      border-radius: 5px;
      background: #696;
      color: #fff;
    }

    .title {
      font-size: 20px;
      line-height: 50px;
      color: #36f;
      text-indent: 1em;
      border-bottom: 1px solid #ccc;
    }

    .item-info {
      .left-info, .right-info {
        display: inline-block;
        vertical-align: top;
        width: 600px;

        .item {
          margin-top: 5px;
          height: 30px;
          line-height: 30px;

          &.icon {
            position: relative;

            .iconfont {
              position: absolute;
              top: 0;
              right: 190px;
            }
          }

          span {
            display: inline-block;
            vertical-align: top;
            width: 120px;
            color: #333333;
            font-weight: 600;
          }

          input {
            display: inline-block;
            vertical-align: top;
            width: 300px;
            height: 30px;
            border: 1px solid #ccc;
            border-top: 2px solid #999;
          }

          select {
            display: inline-block;
            width: 300px;
            height: 30px;
            border: 1px solid #ccc;
            border-top: 2px solid #999;
            text-align: right;

            &.min1 {
              width: 100px;
            }

            &.min2 {
              width: 200px;
              margin-left: -1px;
            }
          }

          &.textarea {
            height: 150px;

            textarea {
              width: 300px;
              height: 150px;
              border: 1px solid #ccc;
              border-top: 2px solid #999;
            }
          }

          &.spec {
            height: 70px;

            span {
              float: left;
            }

            .text {
              display: inline-block;

              input:nth-of-type(1) {
                width: 100px;
              }

              input:nth-of-type(2) {
                width: 200px;
              }

              &:nth-of-type(2) {
                margin-top: 5px;
              }
            }
          }

          &.spec2 {
            height: 30px;

            .text {
              display: inline-block;

              input {
                display: inline-block;
                vertical-align: top;
              }

              input:nth-of-type(1) {
                width: 200px;
              }

              input:nth-of-type(2) {
                width: 100px;
              }

              select {
                display: inline-block;
                vertical-align: top;
                width: 100px;
              }
            }
          }

          &.spec3 {
            height: 70px;

            span {
              height: 70px;
              float: left;
            }

            .text {
              display: inline-block;
              margin-top: 5px;

              input:nth-of-type(1) {
                width: 200px;
              }

              input:nth-of-type(2) {
                width: 100px;
              }
            }
          }

          &.spec4 {
            height: 70px;

            span {
              float: left;
              height: 70px;
            }

            input {
              margin-top: 5px;
            }
          }

          &.spec5 {
            input {
              width: 140px;
            }

            .line {
              display: inline-block;
              vertical-align: middle;
              width: 20px;
              height: 1px;
              background: #ccc;
            }

            .iconfont {
              &:ntn-of-type(1) {
                right: 190px;
              }

              &:nth-of-type(2) {
                left: 236px;
              }
            }
          }
        }

        .upload {
          width: 400px;
          margin-top: 5px;
          text-align: center;

          .avatar {
            width: 400px;
            height: 143px;
            border: 1px solid #ccc;
            margin-bottom: 15px;
          }

          .desc {
            margin-bottom: 15px;
          }

          .btn {
            display: inline-block;
            margin-bottom: 15px;
            width: 80px;
            height: 30px;
            line-height: 30px;
            text-align: center;
            border-radius: 5px;
            background: #69f;
            color: #fff;
          }
        }
      }

      .right-info {
        .item {
          margin-top: 15px;
        }
      }
    }

    .operate-btn {
      width: 120px;
      margin: 50px auto 0;
      cursor: pointer
      span {
        display: inline-block;
        width: 120px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        margin-right: 15px;
        border: 1px solid #ccc;
        border-radius: 4px;
        background: #69f;
        color: #fff;
      }
    }
  }
}
</style>
